package minisoft.application.loterryservice;

import java.util.Calendar;
import java.util.Date;
import android.content.Context;

public class SearchDataSource {

	static public Prize searchPrizesByProvinceAndDate(Context context,
			String province, Date date) {

		String[] prize_array = new String[] { "123456", "234567", "111111",
				"12345556", "222222", "222222", "224566", "23456788", "23" };

		Prize prize = new Prize(prize_array);

		return prize;
	}

	static public Prize searchPrizesByProvinceAndDate(int region, Calendar date) {
		String[] prize_array = null;
		// /TODO Call from ws
		if (region > 1) {
			prize_array = new String[] { "606125-06125", "52030", "45795", "85527-56396",
					"46715-56930-09028-34668-34784-86509-28073", "0474", "125-339-745-980", "233", "06"};
		} else {
			prize_array = new String[] { "45579", "04136", "25751-03717",
					"03696-31584-13770-10003-86885-12814",
					"1170-9022-5644-6802", "5142-2165-3030-3848-5627-2339",
					"738-054-761", "01-94-39-30" };
		}
		Prize prize = new Prize(prize_array);

		return prize;
	}

	static public Prize searchPrizesByProvinceAndDate() {

		String[] prize_array = new String[] { "123456", "234567", "111111",
				"12345556", "222222", "222222", "224566", "23456788" };

		Prize prize = new Prize(prize_array);

		return prize;
	}
}